home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / pbm / hpcd2ppm_0_5_pl1.lha / hpcdtoppm.0.5.pl1 / src / Makefile < prev    next >
Makefile  |  1993-08-20  |  472b  |  23 lines

  1. #
  2. #
  3. # Use the hpcdtoppm procedures for writing ppm and pgm
  4. VFLAGS= -DOWN_WRITE
  5. VLIBS=
  6. # Use the pbmplus procedures for writing ppm and pgm
  7. #VFLAGS=
  8. #VLIBS= libpbm.a libpgm.a libppm.a
  9. #
  10. #
  11. CC=    gcc 
  12. CFLAGS=    -O4 -ansi -Wall ${VFLAGS} 
  13. INCL=    hpcdtoppm.h config.h
  14. OBJ=    main.o output.o color.o format.o tools.o error.o \
  15.     ppm.o postscr.o const.o
  16. COMPILE=${CC} ${CFLAGS}  -c
  17. #
  18. hpcdtoppm: ${OBJ}
  19.     ${CC} -o hpcdtoppm ${OBJ} ${VLIBS}
  20. #
  21. ${OBJ}: ${$@:.o=.c} ${INCL}
  22.     ${COMPILE} ${*}.c
  23.